SetDlgExitProc

Syntax: @SetDlgExitProc procedure_name

The SetDlgExitProc command can be used to specify a procedure to be invoked when the current dialog exits. Typically, once the user presses the OK button.

Procedure_name must be a name of a procedure object in the Knowledge Explorer.